<include file="Public:header"/>

<div class="table-tit">新增推广人员</div>

<div class="form-panel">
    <div class="row">
        <div class="col-md-5">
            <form action="{:U('Curd/editons','type=Salestaff&str=ssa_id&id='.$data['ssa_id'])}" method="post">
                <div class="form-group">
                    <label>推广员姓名</label>
                    <input type="text" name="ssa_name" class="form-control input-sm" value="{$data.ssa_name}">
                </div>
                <div class="form-group">
                    <label>推广员电话</label>
                    <input type="text" name="ssa_phone" class="form-control input-sm" value="{$data.ssa_phone}">
                </div>
                <div class="form-group">
                    <label>收款银行</label>
                    <input type="text" name="ssa_banktrans" class="form-control input-sm" value="{$data.ssa_banktrans}">
                </div>
                <div class="form-group">
                    <label>收款人</label>
                    <input type="text" name="ssa_bankname" class="form-control input-sm" value="{$data.ssa_bankname}">
                </div>
                <div class="form-group">
                    <label>银行账号</label>
                    <input type="text" name="ssa_banknumber" class="form-control input-sm" value="{$data.ssa_banknumber}">
                </div>
                <div class="form-group">
                    <label>推广类型</label>
                    <select name="ssa_type" class="form-control input-sm">
                        <option value="0">请选择</option>
                        <volist name="sal" id="v">
                            <option value="{$v.sat_para}" <if condition="$v['sat_para'] eq $data['ssa_type']">selected</if> >{$v.sat_name}</option>
                        </volist>
                    </select>
                </div>
                <div class="form-group">
                    <label>状态</label>
                    <select name="ssa_status" class="form-control input-sm">
                        <option value="0">请选择</option>
                        <option value="1" <if condition="1 eq $data['ssa_status']">selected</if>>启用</option>
                        <option value="2" <if condition="2 eq $data['ssa_status']">selected</if>>暂停</option>
                    </select>
                </div>
                <button type="submit" class="btn btn-default">保存</button>
            </form>

        </div>
    </div>
</div>

<include file="Public:footer"/>